package com.feri.cs.controller;

import com.feri.cs.service.SysUserService;
import com.feri.cs.vo.R;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;

/**
 * 1.用户表(SysUser)表控制层
 *
 * @author makejava
 * @since 2023-05-09 16:34:56
 */
@RestController
@CrossOrigin
@Api(tags = "系统用户")
public class SysUserController {
    /**
     * 服务对象
     */
    @Resource
    private SysUserService sysUserService;

    @GetMapping("/api/sysuser/all")
    public R all(){
        return sysUserService.all();
    }
}

